#ifndef SERVO_H
#define SERVO_H
#ifndef __USING_TIMER1__
#define __USING_TIMER1__
#else
#warning "timer1 conflict, there may be other device using it"
#endif
extern int SERVO_A_0, SERVO_A_DELTA, SERVO_B_0, SERVO_B_DELTA;
void servo_init(int a0, int a180, int b0, int b180);
void servo_set_a(float a);
void servo_set_b(float a);
#endif
